package com.zb.zbtcommon.service.impl;

import com.zb.zbtcommon.dao.HeadofficeDao;
import com.zb.zbtcommon.entity.Headoffice;
import com.zb.zbtcommon.service.HeadofficeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class HeadofficeServiceImpl implements HeadofficeService {
    @Autowired
    private HeadofficeDao headofficeDao;


    @Override
    public Headoffice findHeadoffice(String headofficeid) {

        return headofficeDao.findHeadoffice(headofficeid);
    }
}
